import React, { Component } from 'react';
import { List } from "antd";

const data = [
  '1Racing car sprays burning fuel into crowd.',
  '1Japanese princess to wed commoner.',
  '1Australian walks 100km after outback crash.',
  '1Man charged over missing wedding girl.',
  '1Los Angeles battles huge wildfires.',
];

class Goods extends Component {
  render() {
    return (
      <div>
        <List
          header={<h1>header</h1>}
          footer={<h2>footer</h2>}
          bordered
          dataSource={data}
          renderItem={(item) => (<List.Item>{item}</List.Item>)}
        />
      </div>
    );
  }
}

export default Goods;